#pragma once
#include "Resource.h"
#include "simplelistctrl.h"
#include "BaseForm.h"

// CFutureAccoutQuery dialog

class CFutureAccoutQueryForm : public CBaseForm
{
	DECLARE_DYNAMIC(CFutureAccoutQueryForm)

public:
	CFutureAccoutQueryForm(CWnd* pParent = NULL);   // standard constructor
	virtual ~CFutureAccoutQueryForm();
	static CBaseForm* CreateShow(CWnd* pParent)
	{
		CFutureAccoutQueryForm* pform = new CFutureAccoutQueryForm(pParent);

		//CStockNetWorthForm* 

		pform->Create(CFutureAccoutQueryForm::IDD,pParent);

		pform->ModifyStyle(0, WS_EX_CONTROLPARENT);
		pform->ShowWindow(SW_SHOW);
		return pform;
	}

// Dialog Data
	enum { IDD = IDD_DIALOG_ACCOUNT_QUERY };
	CSimpleListCtrl m_listctrl;

protected:

	virtual BOOL OnInitDialog();

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	//afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButtonQuery();

	virtual CString GetTitle() const;

	afx_msg void OnNMDblclkListDetail(NMHDR *pNMHDR, LRESULT *pResult);

	virtual BOOL AllowClose();

};
